import json

def load_boss(boss_name):
    with open('data/bosses.json', 'r', encoding='utf-8') as f:
        bosses = json.load(f)
    return bosses.get(boss_name)

def load_player(player_name):
    with open('data/players.json', 'r', encoding='utf-8') as f:
        players = json.load(f)
    return players.get(player_name)